package com.simple.gateway.sdk.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 项目: simple-gateway-core
 *
 * 功能描述: 网关sdk配置
 *
 * @author: WuChengXing
 *
 * @create: 2023-08-09 17:53
 **/
@Data
@ConfigurationProperties("simple.gateway.sdk")
public class GatewaySDKServiceProperties {

    /**
     * 网关注册中心地址
     */
    private String address;

    /**
     * 系统标识
     */
    private String systemId;

    /**
     * 系统名称
     */
    private String systemName;

    /**
     * RPC注册中心；zookeeper://127.0.0.1:2181
     */
    private String systemRegistry;

    /**
     * 系统类型：com.simple.gateway.core.datasource.DataSourceType
     */
    private String systemType;
}
